package top.zhangjianyong.entity;

import java.util.List;
import java.util.Map;

public class People {

    private People father;
    private People mother;
    private int year;
    private double x;
    private double y;
    private List<People> mate;
    private List<People> child;
    private String sex;
    private Map<String, Double> gene;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public People getFather() {
        return father;
    }

    public void setFather(People father) {
        this.father = father;
    }

    public People getMother() {
        return mother;
    }

    public void setMother(People mother) {
        this.mother = mother;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public List<People> getMate() {
        return mate;
    }

    public void setMate(List<People> mate) {
        this.mate = mate;
    }

    public List<People> getChild() {
        return child;
    }

    public void setChild(List<People> child) {
        this.child = child;
    }

    public Map<String, Double> getGene() {
        return gene;
    }

    public void setGene(Map<String, Double> gene) {
        this.gene = gene;
    }
}
